home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Canadian & World Encyclopedia 1998
/
The Canadian & World Encyclopedia 1998 - Disc 2.iso
/
mac
/
prime_CD
/
pb
/
PROFILE.DIR
/
00024_Script_#pmtop roll script
< prev
next >
Wrap
Text File
|
1997-07-29
|
1KB
|
53 lines
global current_pm, pmpal, virtualrolloverlist
on exitFrame
pmrolls
go the frame
end
on pmrolls
set dframe = marker("pmtop") + 2
repeat with x in virtualRolloverList
if inside(point(the mouseH, the mouseV), x) then
handcursor
set current_pm = getPos(virtualRolloverList,x)
pmenu(current_pm) -- pos equals pm number
repeat while inside(point(the mouseH, the mouseV),x)
if the mousedown then
global menumouse
if not menumouse then
waitcursor 7
preload marker("prof start" + current_pm)
pm_prep(current_pm) -- sets the pm to go to the profile on the next idle event
updatestage
set the cursor of sprite 7 = 0
abort
end if
set menumouse = 0
end if
updatestage
end repeat
else
go to frame dframe
set current_pm = 0
updatestage
end if
case true of --??
(rollover(7)) : cursor 0
(rollover(10)),(rollover(12)),(rollover(13)) : handcursor
end case
end repeat
end
on pmenu pm
go to frame (marker("pmtop") + 2 + integer(pm))
set current_pm = pm
end